package org.lanqiao.dxzf.service.admin;

import java.util.List;

import org.lanqiao.dxzf.entity.Role;


public interface RoleService {
	List<Role> selectAllRoleByAid(Integer aid);
	List<Role> find(Role role);
	/**
	 * 插入角色和权限
	 * @param role
	 * @param pids
	 * @return
	 */
	int insertAndaddPriv(Role role,List<Integer> pids);
}
